home *** CD-ROM | disk | FTP | other *** search
/ PC Media 23 / PC MEDIA CD23.iso / share / prog / gapcdr1 / compiler.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-03  |  1.1 KB  |  43 lines

  1. /*
  2.    Copyright (C) 1988-1994 The GAP Development Company
  3.  
  4.    All Rights Reserved
  5.  
  6.    This source code is considered to be confidential information proprietary
  7.    to The GAP Development Company.  It is prohibited and punishable by law
  8.    to use or duplicate any part of this information.
  9.  
  10.    COMPILER.H
  11.  
  12.    Defines compiler options
  13. */
  14.  
  15. #if !defined(__COMPILER_H__)
  16.    #define __COMPILER_H__
  17.  
  18. #if (__BORLANDC__)
  19.    // these are Non-ANSI, but Borland still doesn't support the
  20.    // underscores that are required by non-ansi functions
  21.  
  22.    #define _FP_SEG FP_SEG
  23.    #define _FP_OFF FP_OFF
  24.    #define _sopen sopen
  25.    #define _open open
  26.    #define _close close
  27.    #define _cputs cputs
  28.    #define _ltoa ltoa
  29.    #define _outp outp
  30.    #define _inp inp
  31.    #define _REGS REGS
  32.    #define _int86 int86
  33.    #define _strlwr strlwr
  34.    #define _read read
  35.    #define _write write
  36.    #define _lseek lseek
  37.    #define _getcwd getcwd
  38.    #define _chdir chdir
  39.    #define _itoa itoa
  40. #endif
  41.  
  42. #endif                                    // __COMPILER_H__ defined
  43.